package com.xucy.springboot.designmodel.structural.adapter.objectadapter;

/**
 * @Author xucy
 * @Date 2019-07-18 16:35
 * @Description
 **/

public class EncodeAdapter extends EncodeSm2Service {

    private EncodeSm4Sm2Service encodeSm4Sm2Service;

    EncodeAdapter(){
         encodeSm4Sm2Service=new EncodeSm4Sm2Service();
    }

    @Override
    public void encodeXml() {
        encodeSm4Sm2Service.encodeXml();
    }
}
